package com.mycompany.goodsys.basecom.InputMotion;

import java.util.Scanner;
import com.mycompany.goodsys.basecom.Observer.*;

public class Motion {

    public static void Update(){
        Scanner input=new Scanner(System.in);
        if(input.hasNext()){
            String str = input.next();
//            System.out.println(str);
//
//            str = str.toLowerCase();
//            str = str.substring(0,1);

            //if(str.equals("w") || str.equals("s") || str.equals("a") || str.equals("d")){
             EventSystem.Invoke(EventName.EnterKey,str);
            //}
        }
    }
}
